object LexerTest {
    def main() : Unit = {
{
        println(new AllTokens().globalTest());
        println(new AllTokens().stupidTest());
}
    }
}

class AllTokens {
 def globalTest() : Bool = { // This little test class IS VERY STUPID! Only for Token testing for now.
  var MyBool : Bool;  /* another simple coment, testing purpose, ya? */ // What would happen now?
  var MyInt : Int;
  var Count : Int;
  var MyString : String;
  var MyIntArray : Int[];
  MyBool = true;
  MyInt = 42;
  Count = 0;
  MyString = "42 is the anwser to the ultimate question about life, universe and everything.";
  MyIntArray = new Int[3];
  MyIntArray[0] = 1;
  MyIntArray[1] = 2;
  MyIntArray[2] = 3;
  if (MyBool == true) {
   while (Count < 20) {
    Count = Count + 1;
    MyInt = MyInt + ((Count * Count) / 2);
    println("MyInt = "+MyInt);
   }
  } else {
   println("If you see this, it means your compiler had been badly coded. True should be equals to True!");
  }
  Count = 5;
  MyInt = 5;
  MyInt = Count + MyInt;
  if (false || (MyBool && !MyBool) || MyBool) {
   println("Yes, that thing is indeed true, DUH!");
  }
  return MyBool;
 }
 def stupidTest() : String = {
  var MyOtherString : String;
  MyOtherString = "Nothing here";
  println("Stupid call test done. It works.");
  return MyOtherString;
 }
}

